package com.hyy.eb.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/product")
public class EbProductController {
    @RequestMapping("/detail")
    public String detail(){
        System.out.println("==========浏览器点击了某个商品==========");
        //把数据绑定到model
        //视图名称
        return "product-view";
    }
}
